package com.topvision.model.glass;

import com.topvision.model.base.AuditAuto;

/**
 * 文件上传状态
 *
 * @author jack
 * @email 791127866@qq.com
 * @date 2017-11-29 13:57:31
 */
public class SysFileUploadStatus extends AuditAuto {

    private String guid;
    //文件名称
    private String filename;
    //当前区域块
    private Integer chunk;
    //总区域块
    private Integer chunks;

    public SysFileUploadStatus() {
    }

    public SysFileUploadStatus(String guid, String filename, Integer chunk, Integer chunks) {
        this.guid = guid;
        this.filename = filename;
        this.chunk = chunk;
        this.chunks = chunks;
    }

    /**
     * 设置：文件名称
     */
    public void setFilename(String filename) {
        this.filename = filename;
    }

    /**
     * 获取：文件名称
     */
    public String getFilename() {
        return filename;
    }

    /**
     * 设置：当前区域块
     */
    public void setChunk(Integer chunk) {
        this.chunk = chunk;
    }

    /**
     * 获取：当前区域块
     */
    public Integer getChunk() {
        return chunk;
    }

    /**
     * 设置：总区域块
     */
    public void setChunks(Integer chunks) {
        this.chunks = chunks;
    }

    /**
     * 获取：总区域块
     */
    public Integer getChunks() {
        return chunks;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }
}
